<?php

use CtyunOss\CtyunOss;
use Symfony\Component\VarDumper\VarDumper;

require_once '../config.php';
require_once EXAMPLE_PATH . '../vendor/autoload.php';

$config->debug = true;

/*$files = [
    '/test-1595229734.txt',
    '/test-1595230912.txt',
    '/test-1595230937.txt',
    '/test-1595230944.txt',
    '/test-1595230951.txt'
];*/
$files = [
    '/sample1.txt',
    '/sample2.txt'
];

$oss  = new CtyunOss($config);
$data = $oss->bucket()->delObjects($files);
VarDumper::dump($data);